package com.site.wisdom_construction.service.healthEpidemicModel;

import com.site.wisdom_construction.dao.healthEpidemicModel.BloodOxygenHistoryDao;
import com.site.wisdom_construction.entity.healthEpidemicModel.BloodOxygenHistory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/5/7
 * @Description
 */
@Service
public class BloodOxygenHistoryService implements BloodOxygenHistoryDao {
    @Autowired
    private BloodOxygenHistoryDao bloodOxygenHistoryDao;

    @Override
    public int insertBloodOxygenHistory(Map map) {
        return bloodOxygenHistoryDao.insertBloodOxygenHistory(map);
    }

    @Override
    public int deleteBloodOxygenHistory(Map map) {
        return bloodOxygenHistoryDao.deleteBloodOxygenHistory(map);
    }

    @Override
    public List<BloodOxygenHistory> findBloodOxygenHistoryByPage(Map map) {
        return bloodOxygenHistoryDao.findBloodOxygenHistoryByPage(map);
    }

    @Override
    public long Total(Map map) {
        return bloodOxygenHistoryDao.Total(map);
    }
}
